﻿
using Oracle.DataAccess.Client;

namespace Lib.Constant
{
    public enum DataType
    {
        String,
        Date,
        Month,
        Number,
        Money,
        Unicode
    }
    public enum TypeControl
    {
        TextBox,
        TextArea
    }

    public  enum SaveType
    {
        String,
        Number,
        Date
    }

    public enum TypePaging
    {
        Client,
        Server
    }
    public enum EditorType
    {
        None,
        TextBox,
        CheckBox,
        Drop
    }

    public class Base
    {
        //JS
        public const string TEMPLATE_SCRIPT = "<script type=\"text/javascript\" src=\"{0}\"></script>\r\n";
        public const string NAME_COMMON = "Lib.Resources.Common.js";
        public const string NAME_FORM = "Lib.Resources.From.js";
        public const string NAME_JQUERY = "Lib.Resources.jquery-1.11.0.js";
        public const string NAME_JQUERY_UI = "Lib.Resources.Jquery-ui-1.10.4.js";
        public const string NAME_CHECKBOX = " Lib.Resources.checkBox.js";
        public const string NAME_UNTIL = "Lib.Resources.Until.js";
        public const string NAME_EVENT_DRAP = "Lib.Resources.Slick.jquery.event.drag-2.2.js";
        public const string NAME_CELL_SELECTION = "Lib.Resources.Slick.slick.cellselectionmodel.js";
        public const string NAME_SLICK_CORE = "Lib.Resources.Slick.slick.core.js";
        public const string NAME_SLICK_GRID = "Lib.Resources.Slick.slick.grid.js";
        public const string NAME_ROW_SLECTMODE = "Lib.Resources.Slick.slick.rowselectionmodel.js";
        public const string NAME_GRID_EDITOR = "Lib.Resources.Slick.slick.editors.js";
        public const string NAME_JQUERY_EASY= "Lib.Resources.jquery.easyui.min.js";
        public const string NAME_GRID = "Lib.Resources.grid.js";

        //CSS
        public const string NAME_CSS_BASE = "Lib.Style.base.css";
        public const string NAME_CSS_COLOR = "Lib.Style.ColorPicker.css";
        public const string NAME_CSS_SLICK_GRID = "Lib.Style.slick.grid.css";
        public const string NAME_CSS_GRID = "Lib.Style.grid.css";


        ///
        public static int COUNT_RELOAD = 0;

    }
}
